package model;

public class Adapter implements Target{
    Person person;

    public Adapter(Person person) {
        this.person = person;
    }

    @Override
    public void speakChinese() {
        person.speakChinese();
    }

    @Override
    public void speakEnglish() {
        System.out.println("speak English");
    }
}
